#app{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #333;
}

button{
  position: relative;
  background-color: #2486b9;
  padding: 0 30px;
  height: 40px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  overflow: hidden;

}

button .ripple{
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  transform: translate(-50%,-50%) scale(0) ;
  
  background-color: rgba(255, 255, 255, .8);
  animation:spread .5s ease-out ;
}


@keyframes spread{
  to{
    opacity: 0;
    transform: translate(-50%, -50%) scale(3);
  }
}